import api from '@/api/index.ts'

// 获取列表
export function GetData(params: any) {
  return api.get('/api/music/list', { params })
}
export function GetOptionData() {
  return api.get('/api/miniappsharecardgroup/optionlist')
}
// 获取企微消息组详情
export function GetDataDetail(id: string) {
  return api.get(`/api/music/detail/${id}`)
}
// 添加
export function PostCreateData(params: any) {
  return api.post('/api/music/create', params)
}
// 编辑
export function PutModifyData(params: any) {
  return api.put('/api/music/modify', params)
}
// 修改状态
export function PatchModifyType(params: any) {
  return api.patch('/api/music/modifyrecstate', params)
}
